<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
 
<jsFileName><!--js/pageJS/page_officeItems.js--></jsFileName>
<s:form id="add_officeItemsCollar_form" name="add_officeItemsCollar_form" method="post" action="officeItemsCollar/save.do" onsubmit="return false;">
	<table class="form-table">
		<tr>
			<th width="150">物品：</th>
			<td>
				<s:hidden name="wpid" id="wpid"/>
				<span id="_wp_of_add_wf"></span>
				<a class="btn_short" title="点击选择物品" class="btn_short" href="javascript:void(0)" 
	    			onclick="Ext.milan.pagejs.page_officeItems.selectWp('_wp_of_add_wf')">选 择</a>
			</td>
		</tr>
		<tr>
			<th width="150">领用人：</th>
			<td>
				<%--
				<s:hidden name="lyr" id="lyrid"/>
				<s:textfield key="lyrmc" title="请输入数量" cssClass="form-txtinput" id="lyrmc" maxlength="20" value="%{model.lyrmc}"/>
				<a class="btn_short" title="点击选择物品" class="btn_short" href="javascript:void(0)" 
	    			onclick="Ext.milan.pagejs.page_officeItemsCollar.selectUsers('_wp_user_of_add_wf')">选 择</a>
				--%>
				<s:textfield key="lyrmc" title="请输入发放人" name="lyrmc" cssClass="form-txtinput" id="lyrmc" maxlength="20" value="%{model.lyrmc}"/>
			</td>
		</tr>
		<tr>
			<th width="150">领用日期：</th>
			<td>
			<s:textfield key="lyrq" title="请输入领用日期" cssClass="form-txtinput" id="lyrq"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" readonly="true" maxlength="20" value="%{model.lyrq}"/>
			</td>
		</tr>
		<tr>
			<th width="150">数量：</th>
			<td>
			<s:textfield key="sl" title="请输入数量" cssClass="form-txtinput" id="sl" maxlength="20" value="%{model.sl}"/>
			</td>
		</tr>
		<tr>
			<th width="150">发放人：</th>
			<td>
			<s:hidden name="ffr" id="lyrid"/>
			<s:textfield key="ffrmc" title="请输入发放人" cssClass="form-txtinput" name="ffrmc" id="ffrmc" maxlength="20" value="%{model.ffrmc}"/>
			</td>
		</tr>
		<tr>
			<th width="150">领用部门：</th>
			<td>
			<s:hidden name="lybm" id="lybm"/>
			<s:textfield key="deptname" title="请输入领用部门" cssClass="form-txtinput" name="deptname" id="deptname" maxlength="20" value="%{model.deptname}"/>
			</td>
		</tr>
		<tr>
			<th width="150">备注：</th>
			<td>
				<s:textarea rows="4" name="bz" style="width:400px;" maxlength="300"></s:textarea>
			</td>
		</tr>
	</table>
	<div class="win-btn-panel">
	    <a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_officeItemsCollar.save('add_officeItemsCollar_form')">确 定</a>
		<a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_officeItemsCollar.closeWin(false);">取 消</a>
	</div>
</s:form>

